<%@ page contentType="text/html; charset=utf-8" %>
<%@ taglib uri="/page" prefix="public"%>
<public:pageControl classPath="app.portalbs.basic.comm.CommEdit"/>
<script language="javascript">
function commMer_window_afterOnload(windows,page){
	
	if(windows.dataSet && windows.dataSet.isInsert()){
		
		var sendSet = new Yacon.data.DataSet(page);
		sendSet.switchMessage("getCommID");
		var commID = sendSet.getDataValue();
		
		var form = page.find("commEditForm");
		
		form.value("comm_id",commID);
		form.value("OPER_NO",commID);
		form.value("OPER_NAM","系统管理员");
		form.value("trad_typ",page.element.parameter.tradType);
		form.value("COMM_STA","1");
		form.value("COMM_TYP","2");
		
	}
	
}
</script>

